package com.ruoyi.system.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 数据·格式表，用来存储不同数据模型的格式
 * </p>
 *
 * @author 枯叶z
 * @since 2020-08-17
 */
@ApiModel(value="DataRule对象", description="数据·格式表，用来存储不同数据模型的格式")
public class DataRule implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "自增ID")
    private Integer id;

    @ApiModelProperty(value = "模型ID")
    private Integer moduleId;

    @ApiModelProperty(value = "格式Key值")
    private String keyCode;

    @ApiModelProperty(value = "逻辑删除(0删除，1不删除)")
    private Integer isDelete;

    @ApiModelProperty(value = "创建人ID")
    private String createId;

    @ApiModelProperty(value = "创建人名称")
    private String createName;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getModuleId() {
        return moduleId;
    }

    public void setModuleId(Integer moduleId) {
        this.moduleId = moduleId;
    }

    public String getKeyCode() {
        return keyCode;
    }

    public void setKeyCode(String keyCode) {
        this.keyCode = keyCode;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public String getCreateId() {
        return createId;
    }

    public void setCreateId(String createId) {
        this.createId = createId;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "DataRule{" +
        "id=" + id +
        ", moduleId=" + moduleId +
        ", keyCode=" + keyCode +
        ", isDelete=" + isDelete +
        ", createId=" + createId +
        ", createName=" + createName +
        ", createTime=" + createTime +
        "}";
    }
}
